package com.ytzl.itrip.service;
import com.ytzl.itrip.pojo.ItripHotel;
import com.ytzl.itrip.common.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ItripHotelService {

public ItripHotel getItripHotelById(@Param(value = "id") Long id)throws Exception;

public List<ItripHotel> getItripHotelListByMap(Map
                                                       <String, Object> param)throws Exception;

public Integer getItripHotelCountByMap(Map
                                               <String, Object> param)throws Exception;

public Integer saveItripHotel(ItripHotel itripHotel)throws Exception;

public Integer modifyItripHotel(ItripHotel itripHotel)throws Exception;

public Integer removeItripHotelById(@Param(value = "id") Long id)throws Exception;
public Page<ItripHotel> queryItripHotelPageByMap(Map
                                                         <String, Object> param, Integer pageNo, Integer pageSize)throws Exception;
public Integer removeItripHotelByIds(@Param(value = "ids") Long[] ids)throws Exception;
}
